package com.likersai.opon;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;

/**
 * @author LikerSai
 */
@Slf4j
//@MapperScan("com.likersai.opon.scene.*.dao")
@MapperScans({
        @MapperScan("com.likersai.opon.dao"),
        @MapperScan("com.likersai.opon.scene.*.dao")
})
@EntityScan("com.likersai.opon.scene.*.entity")
@SpringBootApplication
public class OponApplication {

    public static void main(String[] args) {

        SpringApplication.run(OponApplication.class, args);
//        log.info("Started  http://localhost:8080/opon/swagger-ui.html");
        log.info("Started  http://localhost:4396/opon/swagger-ui/");

    }

}
